﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="lc_ModifyInfo.aspx.cs" Inherits="HFWebApp.lawyeruser.lc_ModifyInfo" %>
<%@ Register src="../Control/top.ascx" tagname="top" tagprefix="uc1" %>
<%@ Register src="../Control/end.ascx" tagname="end" tagprefix="uc2" %>
<%@ Register src="c_LeftMenu.ascx" tagname="c_LeftMenu" tagprefix="uc3" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
<title>用户管理中心_红法网</title>
<link href="<%=this.getDemain %>/Style/Style.css" rel="stylesheet" type="text/css" />
<link href="<%=this.getDemain %>/Style/CenterStyle.css" rel="stylesheet" type="text/css" />
<link href="<%=this.getDemain %>/CSS.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<%=this.getDemain %>/Scripts/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="<%=this.getDemain %>/javascript/SwitchTags.js"></script>
<script type="text/javascript" src="<%=this.getDemain %>/Scripts/WebFunction.js"></script>
</head>

<body>
<uc1:top ID="top1" MenuClassID="1" focusLink1="focusLink" runat="server" />
<div id="c_BodyBox">
    <div class="c_LeftMenu">
        <uc3:c_LeftMenu ID="c_LeftMenu1" runat="server" />
    </div>
    <div class="c_RightContent">
        <h3>修改资料</h3>
            <div class="c_MessageBox">
            <ul>
            <form id="Form1" method="post" enctype="multipart/form-data" action="/AjaxSource/LawyerModify.ashx?action=2">
                <li>
                    <div class="c_MB_Left">真实姓名</div>
                    <div class="c_MB_Mid"><input name="reanname" type="text" id="reanname" value="<%=this.getLoginLawyer().RealName %>" size="32" /></div>
                    <div class="c_MB_Right"></div>
                </li>
                <li class="liFix2">
                    <div class="c_MB_Left">照片</div>
                    <div class="c_MB_Mid_Fix"><img alt="" src="<%=this.getDemain + this.getUpFileFolder + this.getLoginLawyer().HeadPic %>" style="height: 159px; width: 159px" /></div>
                </li>
                <li>
                    <div class="c_MB_Left">选择照片</div>
                    <div class="c_MB_Mid"><input name="Files" type="File" id="Files" value="" size="32" /></div>
                    <div class="c_MB_Right"></div>
                </li>
                <li>
                    <div class="c_MB_Left">性别</div>
                    <div class="c_MB_Mid"><input id="sex" name="sex" value="1" <%=this.getLoginLawyer().Sex.ToString().Trim()=="1"?"checked=\"checked\"":"" %>  type="radio" />男&nbsp;
                        &nbsp;<input id="sex" name="sex" <%=this.getLoginLawyer().Sex.ToString().Trim()=="0"?"checked=\"checked\"":"" %> value="0" type="radio" />女</div>
                    <div class="c_MB_Right"></div>
                </li>
                <li>
                    <div class="c_MB_Left">您的生日</div>
                    
                    <div class="c_MB_Mid"><select name="bd_y" id="bd_y">
                          <%for (int i = 1960; i < 2010; i++)
                          { %>
                          <option value="<%=i %>" <%=this.getLoginLawyer().Brithday.Year.ToString() == i.ToString().Trim()?"selected=\"selected\"":""%>><%=i %>年</option>
                        <%} %>
                        </select>
                          <select name="bd_m" id="bd_m">
                            <%for (int i = 1; i < 13; i++)
                              { %>
                              <option value="<%=i %>" <%=this.getLoginLawyer().Brithday.Month.ToString() == i.ToString().Trim()?"selected=\"selected\"":""%>><%=i %>月</option>
                            <%} %>
                        </select>
                        <select name="bd_d" id="bd_d">
                            <%for (int i = 1; i < 32; i++)
                              { %>
                              <option value="<%=i %>" <%=this.getLoginLawyer().Brithday.Day.ToString() == i.ToString().Trim()?"selected=\"selected\"":""%>><%=i %>日</option>
                            <%} %>
                        </select>
                        </div>
                            <div class="c_MB_Right"></div>
                </li>
                <li>
                    <div class="c_MB_Left">邮箱</div>
                    <div class="c_MB_Mid"><input name="email" type="text" id="email"  value="<%=this.getLoginLawyer().Email %>" size="32" /></div>
                    <div class="c_MB_Right"></div>
                </li>
                <li>
                    <div class="c_MB_Left">联系电话</div>
                    <div class="c_MB_Mid"><input name="phone" type="text" id="phone" value="<%=this.getLoginLawyer().Phone %>" size="32" /></div>
                    <div class="c_MB_Right"></div>
                </li>
                <li>
                    <div class="c_MB_Left">业务手机</div>
                    <div class="c_MB_Mid"><input name="mobile" type="text" id="mobile" value="<%=this.getLoginLawyer().Mobile %>" size="32" /></div>
                    <div class="c_MB_Right"></div>
                </li>
                <li>
                    <div class="c_MB_Left">所在地</div>
                    <div class="c_MB_Mid"><select name="provinceid" id="provinceid" onchange="loadCity('cityid' ,this.value)">
                          <option value="0">=省份=</option>
                            <asp:Repeater ID="Repeater1" runat="server">
                                <ItemTemplate>
                                    <option value="<%#Eval("ID") %>" <%#this.getLoginLawyer().ProvinceID.ToString() == Eval("ID").ToString()?"selected=\"selected\"":"" %>><%#Eval("SName") %></option>
                                </ItemTemplate>
                            </asp:Repeater>
                        </select>
                          <select name="cityid" id="cityid">
                            <option value="0">=城市=</option>
                              <asp:Repeater ID="Repeater2" runat="server">
                                <ItemTemplate>
                                    <option value="<%#Eval("ID") %>" <%#this.getLoginLawyer().CityID.ToString() == Eval("ID").ToString()?"selected=\"selected\"":"" %>><%#Eval("CityName") %></option>
                                </ItemTemplate>
                              </asp:Repeater>
                        </select></div>
                    <div class="c_MB_Right"></div>
                </li>
                <li>
                    <div class="c_MB_Left">街道</div>
                    <div class="c_MB_Mid"><input name="address" type="text" id="address" value="<%=this.getLoginLawyer().Address %>" size="32" /></div>
                    <div class="c_MB_Right"></div>
                </li>
                <li>
                    <div class="c_MB_Left">邮编</div>
                    <div class="c_MB_Mid"><input name="post" type="text" id="post" value="<%=this.getLoginLawyer().Post %>" size="32" /></div>
                    <div class="c_MB_Right"></div>
                </li>
                <li>
                    <div class="c_MB_Left">传真</div>
                    <div class="c_MB_Mid"><input name="fax" type="text" id="fax" value="<%=this.getLoginLawyer().Fax %>" size="32" /></div>
                    <div class="c_MB_Right"></div>
                </li>
                <li>
                    <div class="c_MB_Left">网站</div>
                    <div class="c_MB_Mid"><input name="website" type="text" id="website" value="<%=this.getLoginLawyer().WebSite %>" size="32" /></div>
                    <div class="c_MB_Right"></div>
                </li>
                <li>
                    <div class="c_MB_Left">律师执业证号</div>
                    <div class="c_MB_Mid"><input name="lawyerno" type="text" id="lawyerno" value="<%=this.getLoginLawyer().LawyerNo %>" size="32" /></div>
                    <div class="c_MB_Right"></div>
                </li>
                <li>
                    <div class="c_MB_Left">律师事务所</div>
                    <div class="c_MB_Mid"><input name="lawyerfirm" type="text" id="lawyerfirm" value="<%=this.getLoginLawyer().LawyerFirm %>" size="32" /></div>
                    <div class="c_MB_Right"></div>
                </li>
                <li>
                    <div class="c_MB_Left">擅长语言</div>
                    <div class="c_MB_Mid"><input name="language" type="text" id="language" value="<%=this.getLoginLawyer().Language %>" size="32" /></div>
                    <div class="c_MB_Right"></div>
                </li>
                <li class="liFix2">
                    <div class="c_MB_Left">自我介绍</div>
                    <div class="c_MB_Mid"><textarea name="content" id="content" cols="40" rows="6"><%=this.getLoginLawyer().Content %></textarea></div>
                    <div class="c_MB_Right"></div>
                </li>
                <li>
                    <div class="c_MB_Left"></div>
                    <div class="c_MB_Mid"><input id="Button2" type="submit" value="保存" /></div>
                    <div class="c_MB_Right"></div>
                </li>
            </form>
            </ul>
        </div>
    </div>
</div>
<uc2:end ID="end1" runat="server" />
</body>
</html>